package service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import pojo.UserProfile;
import dao.UserDAO;

@Service  
@Transactional 
public class UserServiceImpl implements UserService {

	@Autowired  
    private UserDAO UserDAO; 
	
	public UserProfile getUserProfile(String email) {
		return UserDAO.getUserProfile(email);
	}
}
